import 'package:flutter/cupertino.dart';
import 'package:random_character/chinese_character/random_chinese_charater.dart';
//随机字符串
class RandomWordsWidget extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    // 生成随机字符串
    final wordPair = RandomCharacter.getChinese(length: 5);
    return Padding(
      padding: const EdgeInsets.all(8.0),
      child: new Text(wordPair.toString()),

    );
  }
}
